package br.com.tiespec.ejb.EjbInterface;

import java.io.Serializable;
import java.util.List;

import br.com.tiespec.model.Enum.TipoSortOrder;
import br.com.tiespec.model.Modelo.CenarioBase;
import br.com.tiespec.model.Util.RNException;

public interface CenarioBaseInterface extends Serializable {

	public abstract void salvarCenario(CenarioBase cenarioBaseInstance) throws RNException;

	public abstract void atualizarCenario(CenarioBase cenarioBaseInstance) throws RNException;

	public abstract void excluirCenario(Long id) throws RNException;

	public abstract List<CenarioBase> listarCenarioBase(int first,
			int pageSize, String sortField, TipoSortOrder convertePrimeFaces,
			Long idClientePortal, String varNome, String varFluxo);

	public abstract int countCenarioBase(Long idClientePortal, String varNome, String varFluxo);

	public abstract CenarioBase selecionarCenarioBase(Long id);

	public abstract CenarioBase selecionarCenarioBaseComResponsavel(Long id);

	public abstract CenarioBase selecionarCenarioBaseComFluxos(Long id);
	
	public abstract CenarioBase selecionarCenarioBaseComFluxosEResponsavel(Long id);

}
